{{define "Title"}}注册{{end}}
{{define "ContentWidth"}}9{{end}}
{{define "Breadcrumb"}}
<ul class="breadcrumb">
  <li><a href="/"><i class="glyphicon glyphicon-home"></i> 首页</a></li>
  <li class="active">注册</li>
</ul>
{{end}}
{{define "Content"}}
<div class="content">
  <form action="/signup" method="post" class="form-horizontal">
    {{.utils.RenderInputH .form "username" 2 6}}
    {{.utils.RenderInputH .form "password" 2 6}}
    {{.utils.RenderInputH .form "email" 2 6}}
    <div class="form-group{{if .captchaErr}} has-error{{end}}">
      <label class="col-lg-2 control-label">验证码</label>
      <div class="col-lg-6">
        <script type="text/javascript" src="{{.gtUrl}}"></script>
        {{if .captchaErr}}
          <span class="help-block">验证码错误</span>
        {{end}}
      </div>
    </div>
    <div class="form-group">
      <div class="col-md-offset-2 col-md-6">
		  <input id="submit" type="submit" class="btn btn-primary" value="注册">
		  <p>
		    <br>
		    已有帐号？<a href="/signin" class="btn btn-info">登录</a>
		    </p>
      </div>
	</div>
  </form>
</div>
{{end}}

{{define "LeftSide"}}{{end}}
{{define "RightSide"}}{{end}}
